package day17.feifei;

import java.io.*;

public class Demo04_InputStreamReader {
    public static void main(String[] args) throws IOException {
        File file=new File("D:\\file\\work\\a.txt");
        FileInputStream fis=new FileInputStream(file);
        InputStreamReader isr=new InputStreamReader(fis);
        char[] chars=new char[5];
        int read = isr.read(chars);
        System.out.println(read);
        System.out.println(chars);
    }
}

